package com.qys.livesMall.app.user.model.dto.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;


/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/04/20
 * Time: 18:15
 * DESCRIPTION: app用户登录
 */
@Data
public class AppLoginDTO {

    @Schema(description = "用户名")
    @NotBlank(message = "{user.name.blank}")
    private String username;

    @Schema(description = "密码")
    @NotBlank(message = "{user.password.blank}")
    private String password;
}
